#include <stdio.h>

void squeeze(char s1[], char s2[]);
int main()
{
    char s1[] = "Hello, World!";
    squeeze(s1, "lwH");
    printf("out = %s\n", s1);

    return 0;
}

void squeeze(char s1[], char s2[])
{
    int i, j, k, s;

    for (i = j = 0; s1[i] != '\0'; i++)
    {
        s = 0;
        for (k = 0; s2[k] != '\0'; k++)
        {
            if (s1[i] == s2[k])
            {
                s = 1;
            }
        }
        if(s == 0)
        {
            s1[j] = s1[i];
            j++;
        }        
    }
    s1[j] = '\0';
}